package com.huabo.contract.service;

import com.hbfk.util.PageInfo;
import com.huabo.contract.oracle.entity.TblLegalDisputregistration;

import java.math.BigDecimal;
import java.util.Map;

public interface TblLegalDisputregistrationService {
    TblLegalDisputregistration findById(Integer disputeid);

    void findListByPageInfo(PageInfo<TblLegalDisputregistration> pageInfo, TblLegalDisputregistration dispute, BigDecimal pid);

    void addDiputregistration(TblLegalDisputregistration dispute);

    void deleteRelation(String attid);

    void removecaseInformation(Integer disputeId);

    TblLegalDisputregistration findByDisputeId(Integer disputeId);

    void findListByPageInfoDispute(PageInfo<TblLegalDisputregistration> pageInfo, TblLegalDisputregistration dispute,BigDecimal pid,Integer choiceType,BigDecimal oid);

    void findListByDispute(PageInfo<TblLegalDisputregistration> pageInfo, TblLegalDisputregistration dispute);

    TblLegalDisputregistration findDisputeId(Integer disputeId);

    TblLegalDisputregistration findByDidputeid(Integer disputeId);

    void saveDiputregistration(TblLegalDisputregistration stration);

    void updateDiputregistration(TblLegalDisputregistration stration);

    void modifyDiputregistration(TblLegalDisputregistration oldDispute);

    TblLegalDisputregistration findBydisputeId(Integer disputeId);

    TblLegalDisputregistration findByOrgid(Integer disputeId, BigDecimal orgid);

    void saveBidType(Integer type, Integer bid,BigDecimal aid);

    Map<String, Object> findAttacheMentByBid(Integer type, Integer bid);

    Map<String, Object> deleteAttacheMentByBid(Integer type, Integer aid);

    void deleteAttacheMents(Integer type, BigDecimal bid);

    //TblLegalCloseinformation selectCloseId(Integer closeid);

//    void findListByPage(PageInfo<TblLegalDisputregistration> pageInfo, TblLegalDisputregistration negotia, BigDecimal pid);
}
